home *** CD-ROM | disk | FTP | other *** search
/ Tux Racer / Tux Racer.iso / program files / Sunspire Studios / Tux Racer / courses / forest / sunny_light.tcl < prev    next >
Encoding:
Text File  |  2001-09-09  |  1.2 KB  |  32 lines

  1. objset :course \
  2.     {-light0_on} {1} \
  3.     {-light0_ambient} {0.469999998808 0.52999997139 0.620000004768 1.0} \
  4.     {-light0_diffuse} {0.5 0.5 0.5 1.0} \
  5.     {-light0_specular} {0.8 0.8 0.9 1.0} \
  6.     {-light0_position} {1.0 1.0 0.0 0.0}
  7.     
  8.  
  9. tux_fog -on -mode linear -density 0.005 -colour { 0.13 0.2 0.18 1 } -start 0 \
  10.     -end [tux_get_param forward_clip_distance]
  11.   
  12. tux_particle_colour { 0.85 0.9 0.95 1.0 }
  13.  
  14. tux_load_texture envmap ../forest/alpinesunny_right.png 0
  15.  
  16. tux_load_texture forest-front ../forest/alpinesunny_front.png 0
  17. tux_load_texture forest-right ../forest/alpinesunny_right.png 0
  18. tux_load_texture forest-left ../forest/alpinesunny_left.png 0
  19. tux_load_texture forest-back ../forest/alpinesunny_back.png 0
  20. tux_load_texture forest-top ../forest/alpinesunny_top.png 0
  21. tux_load_texture forest-bottom ../forest/alpinesunny_bottom.png 0
  22.  
  23. tux_bind_texture sky_front forest-front
  24. tux_bind_texture sky_right forest-right
  25. tux_bind_texture sky_left forest-left
  26. tux_bind_texture sky_back forest-back
  27. tux_bind_texture sky_top forest-top
  28. tux_bind_texture sky_bottom forest-bottom
  29.  
  30. objcreate {s_texture_cube} {:textures:cubemap} \
  31.     {-filename} {../forest/alpinesunny_}
  32.